John Lindgren [Tue, 18 Dec 2012 05:23:27 +0000 (00:23 -0500)]
Remove extraneous size request
After “validation” (i.e., background size calculations) of some cells,
size_request() was called here to update the internally cached size of
the treeview. Apparently not updating the sizes leads to some kind of
“inconsistency” that messes with top_row_to_dy(). In the GTK3 model for
size allocation, things are more complicated. The treeview can’t just
go ahead and calculate its own size any more; instead it reports both a
“minimum” and a “natural” size, and it doesn’t know what size it will
actually get until size_allocate(). It may be necessary to update
top_row_to_dy() to deal with not knowing the exact size.
https://bugzilla.gnome.org/show_bug.cgi?id=691751
Matthias Clasen [Tue, 15 Jan 2013 05:37:23 +0000 (00:37 -0500)]
Bump version
Matthias Clasen [Tue, 15 Jan 2013 05:03:19 +0000 (00:03 -0500)]
3.7.6
Matthias Clasen [Tue, 15 Jan 2013 04:32:05 +0000 (23:32 -0500)]
Ignore more private headers when generating docs
Matthias Clasen [Tue, 15 Jan 2013 04:22:10 +0000 (23:22 -0500)]
Don't run gtkdoc-check in make check
It fails for dubious reasons that should not cause make check
to fail, such as a few undocumented symbols.
Matthias Clasen [Tue, 15 Jan 2013 05:03:02 +0000 (00:03 -0500)]
Remove a no-longer existing symbol
Matthias Clasen [Tue, 15 Jan 2013 04:12:36 +0000 (23:12 -0500)]
Update expected output of a11y tests
The output for GtkAboutDialog changed as a result of the
Homepage -> Website string change.
Matthias Clasen [Tue, 15 Jan 2013 04:09:40 +0000 (23:09 -0500)]
Remove some non-warranted checks from builder tests
These tests were making assumptions about the properties of
cell renderers outside of rendering, which we don't give any
guarantees for.
Benjamin Otte [Mon, 14 Jan 2013 17:11:50 +0000 (18:11 +0100)]
scrolledwindow: Use child-visible instead of visible for scrollbars
We want to reserve space for the size of the scrollbars even when they
are not visible. And because toggling visibile to off now returns 0 for
size requests, this won't work anymore.
Benjamin Otte [Mon, 14 Jan 2013 16:59:31 +0000 (17:59 +0100)]
window: Don't use set_allocation() to store cached values
The window size can be queried on widget->window directly, no need to
store it in widget->allocation.
This change is necessary because gtk_widget_set_allcation() is now
checking invariants that assume it's called from insize
gtk_widget_size_allocate() and that wasn;t the case here.
Cosimo Cecchi [Mon, 14 Jan 2013 15:09:10 +0000 (10:09 -0500)]
range: don't trim the trough rectange by the trough margin
Commit
e32da246a84492f02b4dac5a448bb46cb23d68b8 made GtkRange's trough
respect the CSS margin property, but it also trimmed the box in which
the trough reacts to click events by the margin.
We still want to catch events in that area instead, and just make sure
the margin is applied when drawing (which was already implemented by
that commit).
This commit reverts the parts of
e32da246a84492f02b4dac5a448bb46cb23d68b8 that didn't involve drawing,
fixing the bug.
https://bugzilla.gnome.org/show_bug.cgi?id=691677
Gabor Kelemen [Mon, 14 Jan 2013 10:42:57 +0000 (11:42 +0100)]
Updated Hungarian translation
Kjartan Maraas [Mon, 14 Jan 2013 10:18:30 +0000 (11:18 +0100)]
Updated Norwegian bokmål translation
Theppitak Karoonboonyanan [Mon, 14 Jan 2013 07:25:34 +0000 (14:25 +0700)]
Updated Thai translation
Benjamin Otte [Sun, 13 Jan 2013 17:50:16 +0000 (18:50 +0100)]
a11y: Implement get_name() instead of setting variables
This avoids a later free of this const value.
Benjamin Otte [Sun, 13 Jan 2013 18:01:29 +0000 (19:01 +0100)]
x11: unconst-cast result of g_get_prgname()
X doesn't like const...
Fran Diéguez [Sun, 13 Jan 2013 16:30:54 +0000 (17:30 +0100)]
Updated Galician translations
Matthias Clasen [Sun, 13 Jan 2013 13:25:37 +0000 (08:25 -0500)]
Documentation fixes
The documentation for GtkMenuButton was still referring to a
"menu" properties in several places, though it has been renamed
to "popup".
Matthias Clasen [Sun, 13 Jan 2013 12:18:30 +0000 (07:18 -0500)]
Typo fix
Matej Urbančič [Sun, 13 Jan 2013 10:54:16 +0000 (11:54 +0100)]
Updated Slovenian translation
Duarte Loreto [Sun, 13 Jan 2013 00:26:44 +0000 (00:26 +0000)]
Updated Portuguese translation and converted to New Spelling (Novo AO)
Duarte Loreto [Sat, 12 Jan 2013 23:59:49 +0000 (23:59 +0000)]
Updated Portuguese translation and converted to New Spelling (Novo AO)
Geoff Reedy [Thu, 10 Jan 2013 04:40:04 +0000 (21:40 -0700)]
x11: add missing checks that a hint is supported
Before acting on any hint that is set by the window manager we must
first check that the hint is supported by the current window manager.
Checking that a property has a value is insufficient as it may have
been set by a previous window manager which did support the hint.
https://bugzilla.gnome.org/show_bug.cgi?id=691515
Gheyret Kenji [Sat, 12 Jan 2013 06:32:50 +0000 (15:32 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
Alexander Shopov [Sat, 12 Jan 2013 05:11:25 +0000 (07:11 +0200)]
Updated Bulgarian translation
Alexander Shopov [Sat, 12 Jan 2013 05:08:02 +0000 (07:08 +0200)]
Updated Bulgarian translation
Nilamdyuti Goswami [Fri, 11 Jan 2013 15:58:37 +0000 (21:28 +0530)]
Assamese translation updated
Alexander Larsson [Thu, 10 Jan 2013 22:59:23 +0000 (23:59 +0100)]
broadway: Make /dev/shm names nicer
Alexander Larsson [Thu, 10 Jan 2013 21:50:03 +0000 (22:50 +0100)]
broadway: Make Sec-WebSocket-Origin optional
Sometimes we get no Origin in the request
Alexander Larsson [Thu, 10 Jan 2013 20:38:15 +0000 (21:38 +0100)]
broadway: Allow binding http server to an ip
Ross Burton [Mon, 7 Jan 2013 12:49:27 +0000 (12:49 +0000)]
build: support cross-compilation by natively building gtk-update-icon-cache
When cross-compiling, instead of depending on a natively built GTK+ (which means
building Glib, ATK, Pango, gdk-pixbuf, libX11...) for gtk-update-icon-cache,
find the host compiler and gdk-pixbuf, and build another gtk-update-icon-cache
with that.
This uses AX_PROG_CC_FOR_BUILD from autostars to find the host compiler, and
assumes that you'd set PKG_CONFIG_FOR_BUILD to a host pkg-config binary.
https://bugzilla.gnome.org/show_bug.cgi?id=691301
Alexander Larsson [Thu, 10 Jan 2013 15:00:43 +0000 (16:00 +0100)]
broadway: Remove leftover typedef
Alexander Larsson [Thu, 10 Jan 2013 15:00:13 +0000 (16:00 +0100)]
broadway: We need gio-unix for the unix domain sockets
Kjartan Maraas [Thu, 10 Jan 2013 12:42:44 +0000 (13:42 +0100)]
Updated Norwegian bokmål translation
William Jon McCann [Wed, 9 Jan 2013 00:40:21 +0000 (19:40 -0500)]
Use Website instead of Homepage
https://bugzilla.gnome.org/show_bug.cgi?id=691375
Alexander Larsson [Tue, 8 Jan 2013 17:04:42 +0000 (18:04 +0100)]
broadway: Update TODO
Alexander Larsson [Tue, 8 Jan 2013 16:56:39 +0000 (17:56 +0100)]
broadway: Send window size to new clients
Tell all new clients about the current (last sent) window size.
Alexander Larsson [Tue, 8 Jan 2013 16:37:58 +0000 (17:37 +0100)]
broadway: Don't allow dragging windows above top of window
This is highly confusing and makes it impossible to get the windows
back.
Alexander Larsson [Tue, 8 Jan 2013 16:33:29 +0000 (17:33 +0100)]
broadway: Move window position ownership to browser
With this we always roundtrip position change to the webbrowser.
This avoids conflicts when things change from both directions (app and user).
Also, we fake configure evens when there is no web client to ensure
apps get the events.
Alexander Larsson [Tue, 8 Jan 2013 16:32:27 +0000 (17:32 +0100)]
broadway: Make the InputMessage type a uint32
That way we don't get any holes in the structs.
Alexander Larsson [Tue, 8 Jan 2013 16:28:49 +0000 (17:28 +0100)]
broadway: Fix gdk_broadway_server_wait_for_reply
We didn't properly queue an idle to handle the read messages so they
were never serviced in some situations.
Alexander Larsson [Tue, 8 Jan 2013 16:08:46 +0000 (17:08 +0100)]
broadway: Clean up broadwayd event sending code
Use the right size and put the client serial in the right place.
Alexander Larsson [Tue, 8 Jan 2013 09:14:41 +0000 (10:14 +0100)]
broadway: Rewrite serials for clients
This seems right, but atm it breaks grabs.
Alexander Larsson [Mon, 7 Jan 2013 14:27:39 +0000 (15:27 +0100)]
broadway: Remove last_serial from BroadwayReplyBase
This is not used anyway.
Benjamin Otte [Tue, 8 Jan 2013 15:10:30 +0000 (16:10 +0100)]
widget: Remove leftover debug statement
Seems we didn't hit this very often. :)
Benjamin Otte [Tue, 8 Jan 2013 13:56:02 +0000 (14:56 +0100)]
widget: Give some meaning to "visible"
GtkWidget::visible is required for the widget to:
- have a preferred size other than 0/0
- have a size allocated
- return other values than { -1, -1, 1, 1 } from get_allocation()
This is an experimental patch aiming to make concepts and behaviors
inside GTK more concreate. GtkWidget::visible is now essentially what
CSS does for "display: none".
Note that if you want the effect of CSS's "visibility: hidden", you'll
have to use a GtkNotebook with an empty page as the concept of reserving
space but not drawing anything isn't supported natively in GTK.
Benjamin Otte [Tue, 8 Jan 2013 13:55:41 +0000 (14:55 +0100)]
treeviewcolumn: Show button if we're visible
Previously, we were happily working with a hidden button.
Benjamin Otte [Tue, 8 Jan 2013 11:26:04 +0000 (12:26 +0100)]
sizerequest: Make invisible widgets return a 0x0 size.
Benjamin Otte [Tue, 8 Jan 2013 11:24:32 +0000 (12:24 +0100)]
tests: Don't use unicode escapes
Otherwise gcc complains that GTK isn't C99.
Benjamin Otte [Tue, 8 Jan 2013 11:23:52 +0000 (12:23 +0100)]
tests: return 0; from main()
So that gcc stops complaining.
Nicola Fontana [Mon, 7 Jan 2013 14:59:59 +0000 (15:59 +0100)]
configure.ac: fix autoreconf with automake-1.13
Javier Jardón [Mon, 23 Apr 2012 02:51:54 +0000 (03:51 +0100)]
docs: Use gtk-doc-check in make check
Kjartan Maraas [Mon, 7 Jan 2013 10:09:13 +0000 (11:09 +0100)]
Updated Norwegian bokmål translation
Benjamin Otte [Sun, 6 Jan 2013 22:08:28 +0000 (23:08 +0100)]
stylecontext: Make font hack not crash
It's a lot uglier now, but it shouldn't crash anymore.
We must update the font description for animations, but we can't free it
on query, because some paths call gtk_style_context_get_font() twice in
a row without stopping the use of the first call. So us just creating a
new font description all the time and unreffing the old one is not a
good idea. So we just mere the new one into the old one.
https://bugzilla.gnome.org/show_bug.cgi?id=691186
Baurzhan Muftakhidinov [Sat, 5 Jan 2013 14:59:45 +0000 (20:59 +0600)]
Updated Kazakh translation
Murray Cumming [Fri, 26 Oct 2012 14:32:14 +0000 (16:32 +0200)]
iconhelper: treat the empty string as a NULL stock-id
https://bugzilla.gnome.org/show_bug.cgi?id=687025
Andrew Potter [Thu, 15 Nov 2012 07:45:00 +0000 (08:45 +0100)]
GtkApplication: properly unexport x11 menus
https://bugzilla.gnome.org/show_bug.cgi?id=688362
Fabian Henze [Mon, 5 Nov 2012 12:30:00 +0000 (13:30 +0100)]
Fix the annotations of gtk_color_chooser_get_rgba()
https://bugzilla.gnome.org/show_bug.cgi?id=687633
Volker Sobek [Sun, 16 Dec 2012 18:58:31 +0000 (19:58 +0100)]
docs: fix typo in gtkbuildable
https://bugzilla.gnome.org/show_bug.cgi?id=690305
Tristan Brindle [Mon, 12 Nov 2012 05:44:10 +0000 (13:44 +0800)]
Add missing annotation for gtk_combo_box_text_get_active_text()
https://bugzilla.gnome.org/show_bug.cgi?id=688140
Rūdolfs Mazurs [Sun, 30 Dec 2012 13:49:29 +0000 (15:49 +0200)]
Updated Latvian translation
Baurzhan Muftakhidinov [Sat, 29 Dec 2012 17:41:57 +0000 (23:41 +0600)]
Updated Kazakh translation
Balázs Úr [Sat, 29 Dec 2012 15:24:29 +0000 (16:24 +0100)]
Updated Hungarian translation
Benjamin Otte [Sat, 29 Dec 2012 01:33:14 +0000 (02:33 +0100)]
widget: Fix initial state flags for RTL
Benjamin Otte [Sat, 29 Dec 2012 01:24:27 +0000 (02:24 +0100)]
widget: Fix state propagation code
Previously, with STATE_FLAGS_REPLACE we would unset _all_ the state
flags on children, not just the ones that do propagate. This caused the
RTL/LTR flags to get lost.
Benjamin Otte [Sat, 29 Dec 2012 01:07:09 +0000 (02:07 +0100)]
menu: Huh?
What was that code supposed to achieve? Why are we unsetting flags that
might be useful?
Benjamin Otte [Sat, 29 Dec 2012 01:06:51 +0000 (02:06 +0100)]
widget: Remove underscore prefix from static function
Benjamin Otte [Sun, 23 Dec 2012 18:13:11 +0000 (19:13 +0100)]
progressbar: Store activity position as percentage
... instead of in absolute pixels.
Benjamin Otte [Sun, 23 Dec 2012 16:16:12 +0000 (17:16 +0100)]
progressbar: Remove activity_step from private struct
It's only used locally, so use a local variable
Khaled Hosny [Fri, 28 Dec 2012 18:30:17 +0000 (20:30 +0200)]
Typo
Matthias Clasen [Fri, 28 Dec 2012 14:57:34 +0000 (09:57 -0500)]
Move single-include guards inside include guards
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
Arash Mousavi [Fri, 28 Dec 2012 08:30:55 +0000 (12:00 +0330)]
l10n: Updated Persian translation
Alexander Larsson [Thu, 27 Dec 2012 21:19:23 +0000 (22:19 +0100)]
broadway: Handle NULL surface in update
This happen if nothing has been drawn yet.
Alexander Larsson [Thu, 27 Dec 2012 20:10:44 +0000 (21:10 +0100)]
broadway: Rename gdkbroadway-server-client.c to gdkbroadway-server.c
Alexander Larsson [Thu, 27 Dec 2012 20:09:12 +0000 (21:09 +0100)]
broadway: Make resize grip work again
Alexander Larsson [Thu, 27 Dec 2012 19:13:41 +0000 (20:13 +0100)]
broadway: Stop default mouse button handling
This makes it not possible to select the canvas objects, etc.
Alexander Larsson [Wed, 26 Dec 2012 21:32:28 +0000 (22:32 +0100)]
broadway: Add TODO.broadway
Alexander Larsson [Wed, 26 Dec 2012 21:34:53 +0000 (22:34 +0100)]
broadway: Move broadwayd to bin
Alexander Larsson [Wed, 26 Dec 2012 21:31:52 +0000 (22:31 +0100)]
broadway: During pointer grabs, send pointer events only to one client
Alexander Larsson [Sun, 23 Dec 2012 22:35:03 +0000 (23:35 +0100)]
broadway: Make daemon side server "gdk independent".
Alexander Larsson [Sun, 23 Dec 2012 22:05:05 +0000 (23:05 +0100)]
broadway: Proper handling of http port and display nr
Alexander Larsson [Sun, 23 Dec 2012 21:46:29 +0000 (22:46 +0100)]
broadway: Collect and document some TODOs
Alexander Larsson [Sun, 23 Dec 2012 21:42:41 +0000 (22:42 +0100)]
broadway: Track windows for client and kill on client exit
Alexander Larsson [Sun, 23 Dec 2012 21:27:20 +0000 (22:27 +0100)]
broadway: Rename gdkbroadway-server.c to broadway-server.c
This way the broadway-*.c namespace is for the daemon and gdk* for the
gdk lib.
Alexander Larsson [Sun, 23 Dec 2012 21:24:21 +0000 (22:24 +0100)]
broadway: rename broadway-server to broadwayd
The "server" part is too confusing, there are to many servers around.
Alexander Larsson [Sun, 23 Dec 2012 21:12:08 +0000 (22:12 +0100)]
broadway: Drop libbroadway.la
This is not needed anymore, its just used by the server.
Alexander Larsson [Sun, 23 Dec 2012 21:05:02 +0000 (22:05 +0100)]
broadway: rename broadway.[ch] to broadway-output.[ch]
Alexander Larsson [Sun, 23 Dec 2012 20:58:20 +0000 (21:58 +0100)]
broadway: disconnect in idle when needed
This makes the ownership cleaner
Alexander Larsson [Fri, 21 Dec 2012 23:02:55 +0000 (00:02 +0100)]
broadway: Initial version of separate broadway server
This kinda works but is very rudimentary
Alexander Larsson [Thu, 20 Dec 2012 13:20:20 +0000 (14:20 +0100)]
broadway: Add OPs top protocol
Alexander Larsson [Thu, 20 Dec 2012 12:40:31 +0000 (13:40 +0100)]
broadway: Add enum for even types
Alexander Larsson [Thu, 20 Dec 2012 12:07:29 +0000 (13:07 +0100)]
broadway: Break out broadway protocol in its own header
Matthias Clasen [Thu, 27 Dec 2012 17:38:43 +0000 (12:38 -0500)]
docs: Restart a Deprecated section
We've accumulated enough wholly-deprecated objects again
that it makes sense to move them to their own section.
Matthias Clasen [Thu, 27 Dec 2012 17:15:05 +0000 (12:15 -0500)]
Another trivial sorting fix
Matthias Clasen [Thu, 27 Dec 2012 17:11:12 +0000 (12:11 -0500)]
Rename gtkcolorswatchaccessible.h
Call it gtkcolorswatchaccessibleprivate.h. This matches what we're
doing for non-public widget headers in gtk/.
Matthias Clasen [Thu, 27 Dec 2012 07:10:51 +0000 (02:10 -0500)]
Drop separate scrollbar accessible implementation
It didn't really add anything to the range accessible implementation.
Matthias Clasen [Thu, 27 Dec 2012 17:02:26 +0000 (12:02 -0500)]
Add a test for deriving accessible implementations
This is a trivial example. Just check that we can derive
from GtkButtonAccessible, and have a GtkButton subclass
use the derived accessible implementation.
Matthias Clasen [Tue, 30 Oct 2012 15:59:02 +0000 (11:59 -0400)]
Install gtk-a11y.h
We add a separate gtk-a11y.h single-include header for
them. This header will work much the same as gtkx.h. It
will be installed in /usr/include/gtk-3.0/gtk, but you
have to include it separately.
Matthias Clasen [Thu, 27 Dec 2012 06:46:26 +0000 (01:46 -0500)]
Install a11y headers
We install the headers for the a11y implementations in
/usr/include/gtk-3.0/gtk/a11y/.
Matthias Clasen [Tue, 30 Oct 2012 15:39:38 +0000 (11:39 -0400)]
Add single-include guards to a11y headers
More preparation for installing these headers.